import React, { Component } from 'react'

export default class NavBar extends Component {
  render() {
    return (
      <div style={{
        display:'flex'
      }}>
         <div className='left'>{this.props.children[0]}</div>
         <div className='search'>{this.props.children[1]}</div>
         <div className='right'>{this.props.children[2]}</div>
      </div>
    ) 
  }
}
